﻿using System;
using SelfManagement.Mvc.Models;
using SelfManagement.Database.POCO;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using System.Collections.Generic;

namespace SelfManagement.Web.Models.ViewModels.DailyModels
{
    public class DailyPagedListModel: PagedListModel<Daily>
    {
        [Display(Name = "日期")]
        public DateTime? Date { get; set; }
        
        [Display(Name = "任务状态")]
        public TaskStatus? Status { get; set; }

        /// <summary>
        /// 任务状态选择
        /// </summary>
        public List<SelectListItem> TaskStatusSelectItems { get; set; }
    }
}